package com.abel.cloud.common.response;

public class BusinessException extends RuntimeException {

    private RespCode code;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(RespCode code, String message) {
        super(message);
        this.code = code;
    }

    public RespCode getCode() {
        return code;
    }
}